﻿using AgencyManagerSystem.Common;
using Dapper.Contrib.Extensions;
using System;


namespace AgencyManagerSystem.Model
{
    [Table("SAM_ORDERDETAIL")]
    public class OrderDetailModel:StatusModel
    {
        [MainIdAttribute]
        public int OrderId { get; set; }
        public int ProductionId { get; set; }
        public string ProductionCode { get; set; }
        public string ProductionName { get; set; }
        public string ProductionStd { get; set; }
        public int Dimension1 { get; set; }
        public int Dimension2 { get; set; }
        public int Dimension3 { get; set; }
        public int Dimension4 { get; set; }
        public int Dimension5 { get; set; }
        public decimal Dimension6 { get; set; }
        public decimal Dimension7 { get; set; }
        public decimal Dimension8 { get; set; }
        public decimal Dimension9 { get; set; }
        public decimal Dimension10 { get; set; }
        public decimal Price { get; set; }
        public decimal OrgPrice { get; set; }
        public decimal Qty { get; set; }
        public string Unit { get; set; }
        public decimal Amount { get; set; }
        public decimal OrgAmount { get; set; }
        public bool Combination { get; set; }
        public string Note { get; set; }
        public decimal DeliveryQty { get; set; }
        public string ShortCode { get; set; }
        public string PUnit { get; set; }
        public bool OrderUnit { get; set; }
        public string OldNumber { get; set; }
        public string PUnitCode { get; set; }
        public string UnitCode { get; set; }
        public string GroupName { get; set; }
        public string SaleLv { get; set; }
    }
}
